package com.pets.springboot_petshop.service;

import com.pets.springboot_petshop.entity.Membershiptype;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface MembershiptypeService {
    List<Membershiptype> selectMembershiptype(String name);
    //查询所有
    List<Membershiptype> findAll();
    //添加
   int addMembershiptype(Membershiptype membershiptype);
    //删除
    int deleteMembershiptypeById(int id);
    //修改数据
    int updateMembershiptypeById(Membershiptype membershiptype);
}
